import React, { Fragment } from 'react'
import './index.less'
import renderRoutes from 'libs/routes'
import { SideMenu, HelpCenter } from 'components'

export default class FreeClasses extends React.Component {
  state = {
    menuData: [
      { path: '/student_center/frequently_asked_questions/layout/FAQ', name: '常见问题' },
    ]
  }

  render() {
    return (
      <Fragment>
        <div className="frequently-asked-questions">
          <SideMenu menuData={this.state.menuData} />
          <div className="main-container">
            { renderRoutes('/student_center/frequently_asked_questions') }
          </div>
        </div>
        {/* <HelpCenter /> */}
      </Fragment>
    )
  }
}